package com.recharge.api.controller;

import com.recharge.api.service.OperatorService;
import com.recharge.api.utils.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping("/api/operator")
public class OperatorController {
    @Autowired
    private OperatorService operatorService;

    @RequestMapping("/getOperatorList")
    public Result getOperatorList() {
        return operatorService.getOperatorList();
    }

}
